<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";

    response.setHeader("Pragma","No-cache");
    response.addHeader( "Cache-Control", "must-revalidate" );
    response.addHeader( "Cache-Control", "no-cache" );
    response.addHeader( "Cache-Control", "no-store" );
    response.setDateHeader("Expires", 0);
    response.flushBuffer();

%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>订牛奶管理系统</title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <link rel="stylesheet" href="/static/lib/bootstrap5.0.0/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/static/stylesheets/theme.css">
    <link rel="stylesheet" href="/static/lib/font-awesome/css/font-awesome.css">
    <script type="text/javascript" charset="utf-8" src="/static/lib/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/static/js/login.js"></script>

    <%
        response.setHeader("Cache-Control","no-cache"); //不对页面进行缓存，再次访问时将从服务器重新获取最新版本
        response.setHeader("Cache-Control","no-store"); //任何情况下都不缓存页面
        response.setDateHeader("Expires", 0); //使缓存过期
        response.setHeader("Pragma","no-cache"); //HTTP 1.0 向后兼容
    %>

    <style type="text/css">
        #line-chart {
            height: 300px;
            width: 800px;
            margin: 0px auto;
            margin-top: 1em;
        }

        .brand {
            font-family: georgia, serif;
        }

        .brand .first {
            color: #ccc;
            font-style: italic;
        }

        .brand .second {
            color: #fff;
            font-weight: bold;
        }
    </style>

    <script type="text/javascript">
        //警告框
        $(document).ready(function (){
        });
    </script>

</head>

<body class="">

<div class="navbar">
    <div class="navbar-inner">
        <ul class="nav pull-right">
        </ul>
        <a class="brand" href="login.jsp"><span class="second">订牛奶管理系统</span></a>
    </div>
</div>

<div class="row-fluid">
    <div class="dialog">
        <p class="col-md-12" style="color:red; font-size: x-large;">${jinshi}</p>
        <div class="block">
            <p class="block-heading">订牛奶管理系统登录界面</p>
            <div class="block-body">
                <form name="form1" method="post" action="/">
                    <div class="row" style="text-align: center;">
                        <div class="col-md-12">
                            <label>用户名：</label>
                            <input type="text" class="span12" value="admin" name="username">
                        </div>
                        <div class="col-md-12">
                            <label>密&nbsp;&nbsp;&nbsp;码：</label>
                            <input type="password" class="span12" value="123" name="password">
                        </div>
                        <div class="col-md-12">
                                <button class="btn btn-primary login">登录</button>
                                <button class="btn btn-primary zhuce">注册</button>
                        </div>
                    </div>
                    <div class="clearfix"></div>
                </form>

            </div>
        </div>

    </div>
</div>


<script src="/static/lib/bootstrap5.0.0/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript">
    $("[rel=tooltip]").tooltip();
    $(function () {
        $('.demo-cancel-click').click(function () {
            return false;
        });
    });
</script>

</body>
</html>



